<!--买卖流程 步骤标签列表-->
<template>
    <div>
    <van-notice-bar color="#000000" background="#ecf9ff" left-icon="volume-o" text="🚴‍♀️ 🚴‍♂️ 🚴‍♂️ 🚴‍♂️ 🚴‍♀️ 🚴‍♂️ 🚴‍♀️ 🚴‍♂️夏日炎炎，有你超甜。🚴‍♀️ 🚴‍♂️ 🚴‍♀️ 🚴‍♂️ 🚴‍♀️ 🚴‍♂️ 🚴‍♀️ 🚴‍♂️ 🚴‍♀️ 🚴‍♂️"/>
        <van-tabs  swipeable color="#226af9">
            <van-tab title="买房准备">
                <van-steps direction="vertical" :active="active" active-color="#000000" inactive-color="#000000">
                <h3 class="top">1.买房准备</h3>
                    <van-step>
                        <h3>1.1 确认购房资质<van-icon class="r" name="arrow" /></h3>
                        <p>对于限购的城市来说，购房资质审核是买房的必要条件</p>
                        <van-tag type="primary">风险</van-tag>
                        <span class="text">社保断缴或补缴，能买房么？</span><br>
                        <van-tag type="success">指南</van-tag>
                        <span class="text">社保和个税中间断缴过，还能买房么？</span><br>
                        <van-tag type="danger">推荐</van-tag>
                        <span class="text">若是现在，耿叔爷爷接受向家赠与一..</span>
                    </van-step>
                    <van-step>
                        <h3>1.2 确定购房能力<van-icon class="r" name="arrow" /></h3>
                        <p>对于限购的城市来说，购房资质审核是买房的必要条件</p>
                        <van-tag type="primary">标签</van-tag>
                        <span class="text">社保断缴或补缴，能买房么？</span><br>
                        <van-tag type="success">标签</van-tag>
                        <span class="text">社保和个税中间断缴过，还能买房么？</span>
                    </van-step>
                    <van-step>
                        <h3>1.3 选择意向房屋<van-icon class="r" name="arrow" /></h3>
                        <p>对于限购的城市来说，购房资质审核是买房的必要条件</p>
                        <van-tag type="primary">标签</van-tag>
                        <span class="text">社保断缴或补缴，能买房么？</span><br>
                        <van-tag type="success">标签</van-tag>
                        <span class="text">社保和个税中间断缴过，还能买房么？</span><br>
                        <van-tag type="danger">标签</van-tag>
                        <span class="text">若是现在，耿叔爷爷接受向家赠与一..</span>
                    </van-step>
                </van-steps>
            </van-tab>

            <van-tab title="签数合同">
                <van-steps direction="vertical" :active="active" active-color="#000000" inactive-color="#000000">
                <h3 class="top">2.签署合同</h3>
                    <van-step>
                        <h3>2.1 确认购房资质<van-icon class="r" name="arrow" /></h3>
                        <p>对于限购的城市来说，购房资质审核是买房的必要条件</p>
                        <van-tag type="primary">风险</van-tag>
                        <span class="text">社保断缴或补缴，能买房么？</span><br>
                        <van-tag type="success">指南</van-tag>
                        <span class="text">社保和个税中间断缴过，还能买房么？</span><br>
                        <van-tag type="danger">推荐</van-tag>
                        <span class="text">若是现在，耿叔爷爷接受向家赠与一..</span>
                    </van-step>
                    <van-step>
                        <h3>2.2 确定购房能力<van-icon class="r" name="arrow" /></h3>
                        <p>对于限购的城市来说，购房资质审核是买房的必要条件</p>
                        <van-tag type="primary">标签</van-tag>
                        <span class="text">社保断缴或补缴，能买房么？</span><br>
                        <van-tag type="success">标签</van-tag>
                        <span class="text">社保和个税中间断缴过，还能买房么？</span>
                    </van-step>
                </van-steps>
            </van-tab>
            <van-tab title="资金存管">
                <van-steps direction="vertical" :active="active" active-color="#000000" inactive-color="#000000">
                <h3 class="top">3.资金存管</h3>
                    <van-step>
                        <h3>3.1 确认购房资质<van-icon class="r" name="arrow" /></h3>
                        <p>对于限购的城市来说，购房资质审核是买房的必要条件</p>
                        <van-tag type="primary">风险</van-tag>
                        <span class="text">社保断缴或补缴，能买房么？</span><br>
                        <van-tag type="success">指南</van-tag>
                        <span class="text">社保和个税中间断缴过，还能买房么？</span><br>
                        <van-tag type="danger">推荐</van-tag>
                        <span class="text">若是现在，耿叔爷爷接受向家赠与一..</span>
                    </van-step>
                </van-steps>
            </van-tab>
            <van-tab title="贷款">
                 <van-steps direction="vertical" :active="active" active-color="#000000" inactive-color="#000000">
                <h3 class="top">4.贷款</h3>
                    <van-step>
                        <h3>4.1 确认购房资质<van-icon class="r" name="arrow" /></h3>
                        <p>对于限购的城市来说，购房资质审核是买房的必要条件</p>
                        <van-tag type="primary">风险</van-tag>
                        <span class="text">社保断缴或补缴，能买房么？</span><br>
                        <van-tag type="success">指南</van-tag>
                        <span class="text">社保和个税中间断缴过，还能买房么？</span><br>
                        <van-tag type="danger">推荐</van-tag>
                        <span class="text">若是现在，耿叔爷爷接受向家赠与一..</span>
                    </van-step>
                    <van-step>
                        <h3>4.2 确定购房能力<van-icon class="r" name="arrow" /></h3>
                        <p>对于限购的城市来说，购房资质审核是买房的必要条件</p>
                        <van-tag type="primary">标签</van-tag>
                        <span class="text">社保断缴或补缴，能买房么？</span><br>
                        <van-tag type="success">标签</van-tag>
                        <span class="text">社保和个税中间断缴过，还能买房么？</span>
                    </van-step>
                    <van-step>
                        <h3>4.3 选择意向房屋<van-icon class="r" name="arrow" /></h3>
                        <p>对于限购的城市来说，购房资质审核是买房的必要条件</p>
                        <van-tag type="primary">标签</van-tag>
                        <span class="text">社保断缴或补缴，能买房么？</span><br>
                        <van-tag type="success">标签</van-tag>
                        <span class="text">社保和个税中间断缴过，还能买房么？</span><br>
                        <van-tag type="danger">标签</van-tag>
                        <span class="text">若是现在，耿叔爷爷接受向家赠与一..</span>
                    </van-step>
                </van-steps>
            </van-tab>
            <van-tab title="缴税">
                <van-steps direction="vertical" :active="active" active-color="#000000" inactive-color="#000000">
                <h3 class="top">5.缴税</h3>
                    <van-step>
                        <h3>5.1 确认购房资质<van-icon class="r" name="arrow" /></h3>
                        <p>对于限购的城市来说，购房资质审核是买房的必要条件</p>
                        <van-tag type="primary">风险</van-tag>
                        <span class="text">社保断缴或补缴，能买房么？</span><br>
                        <van-tag type="success">指南</van-tag>
                        <span class="text">社保和个税中间断缴过，还能买房么？</span><br>
                        <van-tag type="danger">推荐</van-tag>
                        <span class="text">若是现在，耿叔爷爷接受向家赠与一..</span>
                    </van-step>
                </van-steps>
            </van-tab>
            <van-tab title="过户">
                <van-steps direction="vertical" :active="active" active-color="#000000" inactive-color="#000000">
                <h3 class="top">6.过户</h3>
                    <van-step>
                        <h3>6.1 确认购房资质<van-icon class="r" name="arrow" /></h3>
                        <p>对于限购的城市来说，购房资质审核是买房的必要条件</p>
                        <van-tag type="primary">风险</van-tag>
                        <span class="text">社保断缴或补缴，能买房么？</span><br>
                        <van-tag type="success">指南</van-tag>
                        <span class="text">社保和个税中间断缴过，还能买房么？</span><br>
                        <van-tag type="danger">推荐</van-tag>
                        <span class="text">若是现在，耿叔爷爷接受向家赠与一..</span>
                    </van-step>
                </van-steps>
            </van-tab>
            <van-tab title="放款">
                <van-steps direction="vertical" :active="active" active-color="#000000" inactive-color="#000000">
                <h3 class="top">7.放款</h3>
                    <van-step>
                        <h3>7.1 确认购房资质<van-icon class="r" name="arrow" /></h3>
                        <p>对于限购的城市来说，购房资质审核是买房的必要条件</p>
                        <van-tag type="primary">风险</van-tag>
                        <span class="text">社保断缴或补缴，能买房么？</span><br>
                        <van-tag type="success">指南</van-tag>
                        <span class="text">社保和个税中间断缴过，还能买房么？</span><br>
                        <van-tag type="danger">推荐</van-tag>
                        <span class="text">若是现在，耿叔爷爷接受向家赠与一..</span>
                    </van-step>
                    <van-step>
                        <h3>7.2 确定购房能力<van-icon class="r" name="arrow" /></h3>
                        <p>对于限购的城市来说，购房资质审核是买房的必要条件</p>
                        <van-tag type="primary">标签</van-tag>
                        <span class="text">社保断缴或补缴，能买房么？</span><br>
                        <van-tag type="success">标签</van-tag>
                        <span class="text">社保和个税中间断缴过，还能买房么？</span>
                    </van-step>
                </van-steps>
            </van-tab>
            <van-tab title="房屋交割">
            <van-steps direction="vertical" :active="active" active-color="#000000" inactive-color="#000000">
                <h3 class="top">8.房屋交割</h3>
                    <van-step>
                        <h3>8.1 确认购房资质<van-icon class="r" name="arrow" /></h3>
                        <p>对于限购的城市来说，购房资质审核是买房的必要条件</p>
                        <van-tag type="primary">风险</van-tag>
                        <span class="text">社保断缴或补缴，能买房么？</span><br>
                        <van-tag type="success">指南</van-tag>
                        <span class="text">社保和个税中间断缴过，还能买房么？</span><br>
                        <van-tag type="danger">推荐</van-tag>
                        <span class="text">若是现在，耿叔爷爷接受向家赠与一..</span>
                    </van-step>
                    <van-step>
                        <h3>8.2 确定购房能力<van-icon class="r" name="arrow" /></h3>
                        <p>对于限购的城市来说，购房资质审核是买房的必要条件</p>
                        <van-tag type="primary">标签</van-tag>
                        <span class="text">社保断缴或补缴，能买房么？</span><br>
                        <van-tag type="success">标签</van-tag>
                        <span class="text">社保和个税中间断缴过，还能买房么？</span>
                    </van-step>
                    <van-step>
                        <h3>8.3 选择意向房屋<van-icon class="r" name="arrow" /></h3>
                        <p>对于限购的城市来说，购房资质审核是买房的必要条件</p>
                        <van-tag type="primary">标签</van-tag>
                        <span class="text">社保断缴或补缴，能买房么？</span><br>
                        <van-tag type="success">标签</van-tag>
                        <span class="text">社保和个税中间断缴过，还能买房么？</span><br>
                        <van-tag type="danger">标签</van-tag>
                        <span class="text">若是现在，耿叔爷爷接受向家赠与一..</span>
                    </van-step>
                </van-steps></van-tab>
            <van-tab title="签约后">
                <van-steps direction="vertical" :active="active" active-color="#000000" inactive-color="#000000">
                <h3 class="top">9.签约后</h3>
                    <van-step>
                        <h3>9.1 确认购房资质<van-icon class="r" name="arrow" /></h3>
                        <p>对于限购的城市来说，购房资质审核是买房的必要条件</p>
                        <van-tag type="primary">风险</van-tag>
                        <span class="text">社保断缴或补缴，能买房么？</span><br>
                        <van-tag type="success">指南</van-tag>
                        <span class="text">社保和个税中间断缴过，还能买房么？</span><br>
                        <van-tag type="danger">推荐</van-tag>
                        <span class="text">若是现在，耿叔爷爷接受向家赠与一..</span>
                    </van-step>
                </van-steps>
            </van-tab>
            
        </van-tabs>
    </div>
</template>

<script>
import { Toast } from 'vant';
export default {
    data() {
    return {
      active: "",
    };
  },
    methods: {
    onClick(name, title) {
      Toast(title);
    },
  },
}
</script>

<style scoped>

    .van-tab__pane{
        width: 90%;
        margin: 0 auto;
        margin-top: 0.2rem;
        border: 2px #e7e7e7 solid;
        border-radius: 0.05rem;
    }
    .van-hairline  {
        border-bottom: 2px #f7f7f7 solid;
        width: 93%;
    }
    .top{
        font-size: 0.18rem;
        margin-top: 0.05rem;
    }
    .van-step__title h3{
        font-size: 0.16rem;
        line-height: 0.26rem;
        overflow:hidden;
        text-overflow:ellipsis;
        white-space:nowrap;
    }
    .van-step__title p{
        font-size: 0.14rem;
        line-height: 0.26rem;
        color: #909090;
        overflow:hidden;
        text-overflow:ellipsis;
        white-space:nowrap;
    }
    .van-step__title .text{
        font-size: 0.14rem;
        font-weight: 500;
        line-height: 0.26rem;
        overflow:hidden;
        text-overflow:ellipsis;
        white-space:nowrap;
        margin-left: 0.04rem;
    }


</style>